package cn.tedu.spring.auto;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

//最终需要获取的类
@Component
public class UserCatche {
    @Autowired
    @Qualifier("cacheImpl1")
    private Cache cache;
}
